import request from "../../../../assets/js/request";

// 查询搜索数据
export function searchData(searchData){
  return request({
    url: '/houseRecord/searchLeaseApply',
    method: 'POST',
    data: searchData,
    headers:{
      "Content-Type" : "application/json"
    }
  })
}

// 修改是否通过
export function ifPassApply(id,type){
  return request({
    url : '/houseRecord/changeApplyResult',
    method: 'get',
    params : {
      id : id,
      type : type
    },
    headers:{
      "Content-Type" : "application/json"
    }
  })
}
